home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 28
/
Aminet 28 (1998)(GTI - Schatztruhe)[!][Dec 1998].iso
/
Aminet
/
game
/
board
/
Crafty-15.19.lha
/
crafty-15.19
/
src
/
data.h
< prev
next >
Wrap
C/C++ Source or Header
|
1998-09-13
|
18KB
|
448 lines
#if !defined(DATA_INCLUDED)
# define DATA_INCLUDED
extern char version[6];
extern PLAYING_MODE mode;
extern int batch_mode;
extern int call_flag;
extern int crafty_rating;
extern int opponent_rating;
extern int number_auto_kibitzers;
extern int number_of_computers;
extern int number_of_GMs;
extern int number_of_IMs;
extern int number_of_specials;
extern int time_used;
extern int time_used_opponent;
extern int cpu_time_used;
extern int auto_kibitzing;
extern int next_time_check;
extern int total_moves;
extern int initialized;
extern int early_exit;
extern int new_game;
extern char auto_kibitz_list[64][20];
extern char GM_list[512][20];
extern char IM_list[512][20];
extern char computer_list[512][20];
extern char special_list[512][20];
extern FILE *input_stream;
extern FILE *book_file;
extern FILE *books_file;
extern FILE *history_file;
extern FILE *log_file;
extern FILE *auto_file;
extern FILE *book_lrn_file;
extern FILE *position_file;
extern FILE *position_lrn_file;
extern int log_id;
extern int output_format;
extern int EGTBlimit;
extern int EGTB_draw;
extern int EGTB_use;
extern char whisper_text[512];
extern int whisper_value;
extern int whisper_depth;
extern int last_mate_score;
extern int last_opponent_move;
extern int incheck_depth;
extern int onerep_depth;
extern int pushpp_depth;
extern int recap_depth;
extern int singular_depth;
extern int threat_depth;
extern int pgn_suggested_percent;
extern char pgn_event[32];
extern char pgn_date[32];
extern char pgn_round[32];
extern char pgn_site[32];
extern char pgn_white[64];
extern char pgn_white_elo[32];
extern char pgn_black[64];
extern char pgn_black_elo[32];
extern char pgn_result[32];
extern char log_filename[64];
extern char history_filename[64];
extern int number_of_solutions;
extern int solutions[10];
extern int solution_type;
extern int default_draw_score;
extern int accept_draws;
extern int over;
extern int ics;
extern int auto232;
extern int auto232_delay;
extern int xboard;
extern int whisper;
extern int channel;
extern char channel_title[32];
extern char book_path[128];
extern char log_path[128];
extern char tb_path[128];
extern char cmd_buffer[512];
extern char *args[32];
extern char buffer[512];
extern int nargs;
extern int kibitz;
extern int move_number;
extern int wtm;
extern int crafty_is_white;
extern int iteration_depth;
extern int last_search_value;
extern int previous_search_value;
extern int search_failed_high;
extern int search_failed_low;
extern int largest_positional_score;
extern int root_alpha;
extern int root_beta;
extern int root_value;
extern int root_wtm;
extern int root_move;
extern int root_total_white_pieces;
extern int root_total_white_pawns;
extern int root_total_black_pieces;
extern int root_total_black_pawns;
extern int nodes_per_second;
extern int cpu_percent;
extern int opening;
extern int middle_game;
extern int end_game;
extern int analyze_mode;
extern int annotate_mode;
extern int test_mode;
extern int analyze_move_read;
extern signed char resign;
extern signed char resign_counter;
extern signed char resign_count;
extern signed char draw_counter;
extern signed char draw_count;
extern char audible_alarm;
extern char hint[512];
extern char book_hint[512];
extern int post;
extern int search_depth;
extern int search_move;
extern int easy_move;
extern TIME_TYPE time_type;
extern int time_limit;
extern int absolute_time_limit;
extern int search_time_limit;
extern int nodes_between_time_checks;
extern int burp;
extern int time_abort;
extern signed char pondering; /* thinking on opponent's time */
extern signed char thinking; /* searching on its time */
extern signed char puzzling; /* puzzling about a move to ponder */
extern signed char booking; /* searching, following book moves */
extern signed char abort_search;
extern int ponder;
extern int ponder_move;
extern int made_predicted_move;
extern int force;
extern int ponder_moves[220];
extern int num_ponder_moves;
extern char initial_position[80];
extern unsigned int opponent_start_time, opponent_end_time;
extern unsigned int program_start_time, program_end_time;
extern unsigned int start_time, end_time;
extern unsigned int elapsed_start, elapsed_end;
extern int predicted;
extern signed char transposition_id;
extern int ansi;
extern int trace_level;
extern int max_threads;
extern int min_thread_depth;
extern int thread_depth;
extern int display_options;
extern unsigned int noise_level;
extern int book_move;
extern int moves_out_of_book;
extern int book_accept_mask;
extern int book_reject_mask;
extern int book_random;
extern float book_weight_freq;
extern float book_weight_eval;
extern float book_weight_learn;
extern int book_search_trigger;
extern int book_selection_width;
extern int show_book;
extern int learning;
extern int book_learn_eval[LEARN_INTERVAL];
extern int book_learn_depth[LEARN_INTERVAL];
extern int tc_moves;
extern int tc_time;
extern int tc_time_remaining;
extern int tc_time_remaining_opponent;
extern int tc_moves_remaining;
extern int tc_secondary_moves;
extern int tc_secondary_time;
extern int tc_increment;
extern int tc_sudden_death;
extern int tc_operator_time;
extern int tc_safety_margin;
extern int no_tricks;
extern int computer_opponent;
extern int draw_score_normal;
extern int usage_level;
extern int log_hash;
extern int log_pawn_hash;
extern int hash_table_size;
extern int pawn_hash_table_size;
extern int hash_maska;
extern int hash_maskb;
extern unsigned int pawn_hash_mask;
extern HASH_ENTRY *trans_ref_wa;
extern HASH_ENTRY *trans_ref_wb;
extern HASH_ENTRY *trans_ref_ba;
extern HASH_ENTRY *trans_ref_bb;
extern PAWN_HASH_ENTRY *pawn_hash_table;
extern int history_w[4096], histor